<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ page import="javax.portlet.*"%>
<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<portlet:defineObjects />
<script type="text/javascript" src='/${requestScope.contextPath}/scripts-abc/common.js' ></script>
<form name="<portlet:namespace/>list" action="<portlet:actionURL/>" method="POST">
<input type="hidden" name="screenId" value="List"/>
<input type="hidden" name="eventId" value="default"/>

<br/>
<br />
List test: <br />
<table border="1">
   <tr>
     <td>Name</td>
     <td>Address</td>
     <td>Birthday</td>
   </tr>
<c:forEach var="person" items="${sessionScope.newlist}">
 <tr>
 <td>${person.name}</td>
 <td>${person.address}</td>
 <td>${person.birthday}</td>
 </tr>
</c:forEach>
</table>
${sessionScope.lengthlist}
<br/>
<input type="button" name="add" value="Go to add New" onclick='submitAction("<portlet:namespace/>","list","add");'/>
<input type="button" name="back" value="Back" onclick='submitAction("<portlet:namespace/>","list","back");'/>
</form>
